function myFunc(callbackFunc){
    let value = 50
    callbackFunc(value)
}

function logSomething(val){
    console.log(val)
}

myFunc(logSomething)